
	.section .rodata
	LC0: .asciz "teste de expressao\n"
	LI0 = .-LC0

	.section .bss
	 .comm x_,4,4

	.section .text

	.globl main
	.type main,@function

main: 
	pushl %ebp
	movl (%esp),%ebp
	movl $1,%eax
	movl %eax,x_
	movl x_,%eax
	pushl %eax
	movl $3,%eax
	addl	%eax,(%esp)
	popl	%eax
	pushl %eax
	movl $2,%eax
	subl	%eax,(%esp)
	popl	%eax
	pushl %eax
	movl $3,%eax
	pushl %eax
	movl $2,%eax
	subl	%eax,(%esp)
	popl	%eax
	subl	%eax,(%esp)
	popl	%eax
	movl %eax,x_
	movl x_,%eax
	pushl %eax
	movl $3,%eax
	cmpl	%eax,(%esp)
	jne .L1
	pushl %eax
	pushl %ebx
	pushl %ecx
	pushl %edx
	movl $4,%eax
	movl $1,%ebx
	movl	$LC0, %ecx
	movl	$LI0, %edx
	int $0x80
	popl %edx
	popl %ecx
	popl %ebx
	popl %eax
.L1:

#end program (exit)
	movl $1,%eax
	movl $0,%ebx
	int $0x80
